package idv.long.mcv.model
{
	import flash.display.DisplayObjectContainer;
	
	import idv.long.game.physic.LPhysicEngine;
	import idv.long.util.interfaces.IPhysicsInterface;
	
	import org.cove.ape.Group;
	import org.puremvc.as3.patterns.proxy.Proxy;

	public class PhysicProxy extends Proxy
	{
		public static const NAME:String = "PhysicProxy";
		
		private var m_engine:LPhysicEngine = null;
		
		
		public function PhysicProxy(proxyName:String=null, data:Object=null)
		{
			super(proxyName, data);
			
			m_engine = new LPhysicEngine();
			m_engine.init(data as DisplayObjectContainer);
		}
		
		public function get engine():IPhysicsInterface
		{
			return m_engine;
		}
		
		
		
	}
}